import useScreen from '@/hooks/useScreen'
import React from 'react'

export default function Screen2() {
  //获取屏幕的类型
  let type = useScreen();
  return (
    <div><h1>{type}</h1></div>
  )
}
